package com.ricky.room.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * @ClassName: User
 * @Description:
 * @Author: Haiyang
 * @Date: 2021/7/21 22:25
 */
@Entity
data class User(
    @PrimaryKey(autoGenerate = true)
    val id: Long = 0,
    @ColumnInfo(name = "name")
    val name: String="",
    @ColumnInfo(name = "gender")
    val gender: String="",
    @ColumnInfo(name = "age")
    val age: String=""
)